package com.tangcco.lockwell.domain.dto.message;

import com.tangcco.lockwell.domain.Message;
import com.tangcco.lockwell.domain.User;

import java.util.List;

/**答疑相关dto
 * @author yanxinping
 * @version 1.0
 * @description: TODO
 * @date 2024/12/23 10:41
 */
public class MessageDto extends Message {
    private String subjectName;
    private String timeStr;
    private User user;

    /**
     * 当前用户是否点赞
     */
    private int likesFlag;
    /**
     * 内部回复
     */
    private List<MessageDto> replies;

    public int getLikesFlag() {
        return likesFlag;
    }

    public void setLikesFlag(int likesFlag) {
        this.likesFlag = likesFlag;
    }

    public List<MessageDto> getReplies() {
        return replies;
    }

    public void setReplies(List<MessageDto> replies) {
        this.replies = replies;
    }

    public String getTimeStr() {
        return timeStr;
    }

    public void setTimeStr(String timeStr) {
        this.timeStr = timeStr;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
